#ifndef TEXTUREHANDLER_H_
#define TEXTUREHANDLER_H_
#include <GL/glut.h>

#include <vector>
#include "../baseclass/StateUser.h"

class TextureHandler : public StateUser
{
public:    GLuint texNames[30]; 
           std::vector<unsigned char *> texs;        // array di texture 
    


//QUESTO DEVE ESSERE SINGLETON
    TextureHandler(): StateUser(NULL){}  // PROVVISORIO
    TextureHandler(GameStatus* g): StateUser(g){}
    void Init();
	virtual ~TextureHandler();
	void Load2DMipMap(char*  file,int num);
    void ChangeFilter();
    void ChangePoligonMode();
};

#endif /*TEXTUREHANDLER_H_*/
